home *** CD-ROM | disk | FTP | other *** search
/ SGI Origin & Onyx2 Patches 1998 May / Origin and Onyx2 System Disk Patches May 1998.img / dist / patchSG0002839.idb / usr / include / sys / uncintf.h.z / uncintf.h
C/C++ Source or Header  |  1998-04-01  |  2KB  |  64 lines

  1. /**************************************************************************
  2.  *                                      *
  3.  *          Copyright (C) 1995-1996 Silicon Graphics, Inc.          *
  4.  *                                      *
  5.  *  These coded instructions, statements, and computer programs  contain  *
  6.  *  unpublished  proprietary  information of Silicon Graphics, Inc., and  *
  7.  *  are protected by Federal copyright law.  They  may  not be disclosed  *
  8.  *  to  third  parties  or copied or duplicated in any form, in whole or  *
  9.  *  in part, without the prior written consent of Silicon Graphics, Inc.  *
  10.  *                                      *
  11.  **************************************************************************/
  12.  
  13. #ifndef    __SYS_UNCINTF_H
  14. #define    __SYS_UNCINTF_H
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18.  
  19. #ifdef _KERNEL
  20.  
  21. #include        <sys/types.h>
  22. #include        <sys/systm.h>
  23. #include        <sys/msg.h>
  24. #include        <sys/cmn_err.h>
  25. #include        <sys/syscall.h>
  26. #include        <sys/driver.h>
  27. #include        <sys/conf.h>
  28. #include        <sys/vnode.h>
  29. #include        <sys/ddi.h>
  30. #include        <sys/cred.h>
  31. #include        <sys/errno.h>
  32. #include        <sys/mtio.h>
  33. #include        <sys/tpsc.h>
  34. #include        <sys/scsi.h>
  35. #include        <sys/proc.h>
  36. #include    <sys/file.h>
  37. #include    <sys/prctl.h>
  38.  
  39.  
  40. extern int    tpscstat(vnode_t *, void *, int);
  41. extern int    isa_scsi_tape(vnode_t *, int *);
  42. extern void    *syscall_intercept(int sysnum, sy_call_t intercept_function);
  43. extern void    syscall_restore(int sysnum, void *);
  44. extern int    syscall_continue(void *, sysarg_t *, void *, uint);
  45. extern dev_t    getcttydev(pid_t tpid);
  46. extern int    fdt_getnum(void);
  47. extern pid_t    getparent(pid_t cpid);
  48. extern int     kmsgget(key_t key, int msgflg, int *errno);
  49. extern int     kmsgctl(int msqid, int cmd, struct msqid_ds *buf, int *errno);
  50. extern int     kmsgsnd(int msqid, void *msgp, size_t msgsz, int msgflg, 
  51.                         int *errno);
  52. extern int     kmsgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, 
  53.                         int msgflg, int *errno);
  54. extern int    getf(int, struct file **);
  55. extern int    fdt_dup(int, struct file *, int *);
  56. extern char    fdt_getflags(int);
  57.  
  58. #endif /* _KERNEL */
  59.  
  60. #ifdef __cplusplus
  61. }
  62. #endif
  63. #endif    /* !__SYS_UNCINTF_H */
  64.